import java.util.logging.Logger;
import org.slf4j.bridge.SLF4JBridgeHandler;

/**
 * @Author penglai
 * @Date 2017/1/20.
 */
public class LogDemo {

  protected static Logger logger = Logger.getLogger(LogDemo.class.getName());

  public static void main(String[] args) {
    SLF4JBridgeHandler.removeHandlersForRootLogger();
    SLF4JBridgeHandler.install();
    logger.info("info message");
  }
}
